import React, { useEffect } from 'react'
import 'nprogress/nprogress.css'
import NProgress from 'nprogress'
type Props = {}

const WaitLoading = (props: Props) => {
	useEffect(() => {
		NProgress.start()

		return () => {
			NProgress.done()
		}
	}, [])
	return (
		<div></div>
	)
}

export default WaitLoading